package com.xxx.blog.mapper;

import com.xxx.blog.domain.Article;
import com.xxx.blog.query.ArticleQuery;
import com.xxx.blog.vo.GdVo;

import java.util.List;

public interface ArticleMapper {
    List<Article> findAll();
    Article findOne(Long id);
    List<Article> queryPage(ArticleQuery articleTypeQuery);
    void addArticle(Article articleType);
    void updateArticle(Article articleType);
    void deleteArticle(Long id);
    void batchArticles(Long[] ids);

    List<GdVo> getPlaceOnFileVo();

    List<Article> getRa(Article  article);

    Article getByFileName(String fileName);
}
